home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3009 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: news.infi.net!usenet
  2. From: nngis@norfolk.infi.net (Greg DiGiorgio)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Capturing a print screen command
  5. Date: 25 Jan 1996 12:51:40 GMT
  6. Organization: Customer of InfiNet
  7. Message-ID: <4e7ucs$em4@nw002.infi.net>
  8. References: <31071479.1499778@news>
  9. Reply-To: nngis@norfolk.infi.net
  10. NNTP-Posting-Host: h-creepshow.norfolk.infi.net
  11. Mime-Version: 1.0
  12. X-Newsreader: WinVN 0.99.3
  13.  
  14. In article <31071479.1499778@news>, kolohe@hula.net says...
  15. >
  16. >Is it possible to capture the PrtSc key prior to the system dumping
  17. >the screen contents to the screen.  If so how?  In C of course. 8-)
  18. >
  19. >Chris
  20.  
  21. Are you ready? Here's the 13,000 lines of 'C' code needed to capture a 
  22. PRTSCR to a file. Ready?.... Here goes....
  23.  
  24. Just kidding. I don't have the source to do it, but there is already an 
  25. MSDOS utility that does what you want. It's called "PRN2FILE.COM" and is 
  26. dated 1988. It does not work in a DOS box under Windows, but works just 
  27. fine in DOS. Rather than code your own, you could shell out and run it. 
  28. It is a TSR, though.
  29.  
  30. Hope this helps,
  31. Greg DiGiorgio
  32.  
  33.  
  34.